import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView,
    },
    {
      path: '/about',
     
      component: () => import('../views/AboutView.vue'),
    },
    {
      path: '/addgong',
     
      component: () => import('../views/gonggao/Addgong.vue'),
    },
    {
      path: '/showgong',
     
      component: () => import('../views/gonggao/Showgong.vue'),
    },
    {
      path: '/shewgong',
     
      component: () => import('../views/gonggao/Shewgong.vue'),
    },
    {
      path: '/shcwgong',
     
      component: () => import('../views/gonggao/Shcwgong.vue'),
    },
    {
      path: '/shomgong',
     
      component: () => import('../views/gonggao/Shomgong.vue'),
    },
    {
      path: '/upgong',
     
      component: () => import('../views/gonggao/Upgong.vue'),
    },
    {
      path: '/shongong',
     
      component: () => import('../views/gonggao/Shongong.vue'),
    },
    {
      path: '/addmen',
     
      component: () => import('../views/mendian/Addmen.vue'),
    },
    {
      path: '/showmen',
     
      component: () => import('../views/mendian/Showmen.vue'),
    },
    {
      path: '/shewmen',
     
      component: () => import('../views/mendian/Shewmen.vue'),
    },
    {
      path: '/shommen',
     
      component: () => import('../views/mendian/shommen.vue'),
    },
    {
      path: '/showmon',
     
      component: () => import('../views/mendian/Showmon.vue'),
    },
    {
      path: '/showmem',
     
      component: () => import('../views/mendian/Showmem.vue'),
    },
    {
      path: '/upmen',
     
      component: () => import('../views/mendian/Upmen.vue'),
    },
    {
      path: '/showwen',
     
      component: () => import('../views/mendian/Showwen.vue'),
    },
  ],
})

export default router
